package com.xiaoke.api.service;

import com.xiaoke.entity.Banner;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("service")
public interface BannerService {

    @GetMapping("/banner/findByShop")
    List<Banner> findByShop(@RequestParam("shopId") String shopId);

}
